UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

User .netrc files must not exist.


Overview

Finding ID Version Rule ID IA Controls Severity
V-48067 SOL-11.1-070160 SV-60939r2_rule Medium
Description
The .netrc file presents a significant security risk since it stores passwords in unencrypted form.
STIG Date
Solaris 11 SPARC Security Technical Implementation Guide 2018-04-10

Details

Check Text ( C-50499r2_chk )
The root role is required.

Check for the presence of user .netrc files.

# for dir in \
`logins -ox | awk -F: '($8 == "PS") { print $6 }'`; do
ls -l ${dir}/.netrc 2>/dev/null
done

If output is produced, this is a finding.
Fix Text (F-51675r1_fix)
The root role is required.

Determine if any .netrc files exist, and work with the owners to determine the best course of action in accordance with site policy.